<template>
	<view class="commonContainer">
		<view class="content">
			<text>看书是我的最爱，它增长了我的知识，开阔了我的视野，使我懂得了更多的道理。有一次老师布置了一篇写含羞草的作文，由于我平时看书对含羞草...<a>查看全部</a></text>
			<view class="contentImg">
				<image src="../static/jzqImgs/contentImg1.png" mode=""></image>
			</view>
		</view>
		<view class="footer">
			<view class="footerLeft">
				<image width="40rpx" src="../static/jzqIcon/share.png" mode=""></image>
				<text>分享</text>
			</view>
			<view class="footerRight">
				<image src="../static/jzqIcon/message.png" mode=""></image>
				<text style="margin-right: 10rpx;">回复</text>
				<image src="../static/jzqIcon/dianzan.png" mode=""></image>
				<text>12</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "commonContent",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
.commonContainer{
	.content{
		margin: 20rpx 0;
		text{
			text-overflow: -o-ellipsis-lastline;
			overflow: hidden;
			text-overflow: ellipsis;
			display: -webkit-box;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
		}
		image{
			height: 282rpx;
			margin: 20rpx 0;
		}
	}
	.footer{
			display: flex;
			justify-content: space-between;
			align-items: center;
			image{
				width: 40rpx;
				height: 40rpx;
				margin-right: 10rpx;
			}
			.footerLeft{
				display: flex;
				align-items: center;
				justify-content: center;
			}
			.footerRight{
				display: flex;
				align-items: center;
				justify-content: center;
			}
		}
}
</style>
